package com.example.hibernate.t.tree;

import org.hibernate.cfg.Configuration;
import org.hibernate.tool.hbm2ddl.SchemaExport;
import org.junit.Test;

public class TestApp {
	/*
	create table t_org (
	        id number(19,0) not null,
	        name varchar2(255),
	        parent_id number(19,0),
	        primary key (id)
	    )
	*/
	@Test
	public void testSave(){
		new SchemaExport(new Configuration().configure()).create(true, false);
	}
}
